package spring.cloud.tasks.api.database.service;

import spring.cloud.tasks.api.database.entity.NameSpaceZooKeeperClusterMappingDto;

import java.util.List;


public interface NameSpaceZooKeeperClusterMappingDtoService {

    List<NameSpaceZooKeeperClusterMappingDto> getEffectiveNameSpaceZooKeeperClusterMappingDtoList();

    List<NameSpaceZooKeeperClusterMappingDto> getEffectiveNameSpaceZooKeeperClusterMappingDtoList(String zooKeeperClusterKey);

    List<String> getNameSpaceList(String zooKeeperClusterKey);

    String getZooKeeperClusterKey(String nameSpace);

    Integer insert(String zooKeeperClusterKey, String nameSpace);

    Integer remove(String nameSpace, String lastUpdatedBy);

    Integer update(String zooKeeperClusterKey, String nameSpace);

}
